﻿using Nasty.Core.Model;
using SqlSugar;

namespace Nasty.SystemModule.Areas.SerialNumberConfig.Model
{
    public class SerialNumberConfigModel : SaveModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string? Code { get; set; }


        /// <summary>
        /// 前缀
        /// </summary>
        public string? Prefix { get; set; }


        /// <summary>
        /// 时间格式
        /// </summary>
        public string? TimeFormat { get; set; }

        /// <summary>
        /// 自增长度
        /// </summary>
        public int? AutoIncrementLength { get; set; }

        /// <summary>
        /// 当前自增
        /// </summary>
        public int? CurrentIncrement { get; set; }
    }
}
